package com.jd.org.dto;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;

// 店长dto
@Data
@Builder
public class ShopAdminDto {
    @NotBlank(message = "用户名不能为空！")
    private String username;
    @NotBlank(message = "用户电话不能为空！")
    private String phone;
    @NotBlank(message = "用户邮箱不能为空！")
    private String email;
    @NotBlank(message = "用户密码不能为空！")
    private String password;
    @NotBlank(message = "二次密码不能为空！")
    private String comfirmPassword;
}
